package com.hyf.serviceedu.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-order", fallback = OrderFile.class)
public interface OrderClient {
	//查询订单信息
	@GetMapping("/order/order/isBuyCourse/{memberId}/{coureId}")
	public boolean isBuyCourse(@PathVariable("coureId") String coureId,@PathVariable("memberId") String memberId);
}
